#pragma once
#include "DisplayObject.h"
#include "Ball.h"
#include "CollisionTool.h"
class SquareBumper : public DisplayObject
{
public:
	vector3 _location;
	double _l, _w;
	vector3 * points;
	vector3 _color;

	SquareBumper();
	SquareBumper(vector3 location, double l, double w);
	~SquareBumper(void);
	void Render();
	bool isCollidingWithBall( Ball * ball );
private:
	void init();
};

